import request from './request'

// 请求token
export const requestToken = (data: EmailToken): PromiseRes => request.post('/sendToken', data)

// 验证token
export const verifyToken = (data: EmailToken): PromiseRes => request.post('/verifyToken', data)
